<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>index</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="referrer" content="never" />
		<link rel="stylesheet" href="../../../../css/mui.min.css">
		<link rel="stylesheet" href="../../static/css/common.css">
		<link rel="stylesheet" href="css/add.css">
		<link rel="stylesheet" href="../../static/components/components.css" />	
		<link rel="stylesheet" href="./css/transformerdetail.css" />
		<style>
			.mui-bar-nav ~ .mui-content .mui-pull-top-pocket{
				top:80px !important;
			}
			.ipt{
				width:22vw;
			}
			.titleSty{
				padding: 0;
			}
			.red{
				color:#f00;
			}
		</style>
	</head>

	<body >
		
		<header class="mui-bar mui-bar-nav mui-bar-nav-bg">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">变压器有载调压</h1>

		</header>
		
		<div class="mui-content" id="content" >
			<div class="main_box" v-show="isSearch == 1">
				<div class="main_icon"></div>
				<div class="main_icon1"></div>
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">任务分配信息</div>
				</div>
			
				<div class="flex-between mt-10">
					<div class="flex-row">
						<div class="add-label">操作人:</div>
							<input class="ipt" style="width: 50vw;" v-model="operateName" disabled="true"/>
						</div>
					</div>
					<div class="flex-between mt-10">
					<div class="flex-row"><!-- value="[{{tutelageStaffCode}}]{{tutelageStaffName}}" -->
						<div class="add-label">监护人:</div>
							<input class="ipt" style="width: 50vw;" v-model="tutelageStaffName" disabled="true"/>
								</div>
							</div>
							
						</div>
			<div class="main_box">
				<div class="main_icon"></div>
				<div class="main_icon1"></div>
				<div class="flex-row">
					<div class="icon"></div><div class="color-blue" id="part-title">变压器有载调压</div> 
				</div>
				<div class="flex-between" style="margin-top: 15px;">			
					<div class="flex-row" v-show="pageType != 1 && pageType != 4">
							<div class="mr-5 x " v-show="(pageType == 0 ) || pageType == 2">监护人<span class="red">*</span></div> 
							<div v-show="(pageType == 0 ) || pageType == 2">
								<personselect :issingle="isSingle" ref="personselect" style="width:30vw;"></personselect>
							</div>
					</div>			
					<div class="flex-row">{{transFormDate}}</div>
				</div>

			<hr size="1" class="hr-line"  />
			<!--循环添加多行任务标签-->
		<div v-for="(item,i) in infoListParam">
			<ul class="mui-table-view ">
				<li class="mui-table-view-cell titleSty">
					<!-- <a class="mui-navigate-right" href="#">设备信息</a> -->
					<div class="titleSty" style="height: 8vw;" >
						设备信息
						<img v-if="item.isLumpFirst && pageType == 0" class="lumpBtn" src="../../static/deletek.png" v-on:click="removeLupm(i)"/>
						<img v-if="item.isLumpFirstAdd && pageType == 0" class="lumpBtn leftBtn" src="../../static/addk.png" v-on:click="addLupm"/>
					</div>
					<div class="mui-collapse-content">	
						<div class="flex-row">
							<div v-if="!isEdittext" class="vw-24 ">变压器类型<span class="red">*</span></div>
							<div v-if="isEdittext" class="vw-24 mr-5">变压器类型<span class="red">*</span></div>
							<input style="width: 50vw;" v-if="isEdittext" :disabled="isEdittext" v-model="selectText"/>
							<div v-if="!isEdittext" class="select-box" style="width: 50vw;" @tap.stop="showSelect = !showSelect">
								<span>{{item.selectText}}</span>
								<span class="mui-icon mui-icon-arrowdown"></span>
								<div class="option-box" v-if="showSelect">
									<div class="select-item" @tap="chooseType(item,i)" v-for="(item,index) in typeList">{{item.itemText}}</div>
								</div>	
							</div>
						</div>
						<div class="flex-row mt-10">
							<div  class="vw-24 mr-5">设备编号<span class="red">*</span></div>
							<input maxlength="30" style="width: 50vw;" :disabled="isEdittext" v-model="item.deviceCode"/>
						</div>
					</div>
				  </li>
			</ul>

			<hr size="1" class="hr-line"  />

			<ul class="mui-table-view">
				<!--mui-collapse-->
				<li class="mui-table-view-cell titleSty">
					<!-- <a class="mui-navigate-right" href="#">测量信息</a> -->
					<div class="titleSty">
						<div>测量信息</div>
					</div>
					<div class="mui-collapse-content">				
						<div class="flex-row" >
							<div class="mr-5">分头调节调前<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" class="ipt" :disabled="isEdittext" v-model="item.beforeAdjustInfo"/>
							<div class="mr-5" style="margin-left: 10px;">调后<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.afterAdjustInfo"/>
						</div>
						<div class="flex-row" style="margin-top: 10px;">
							<div  class="vw-24">累计次数<span class="red">*</span></div>
							<input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" class="ipt" :disabled="isEdittext" style="width: 50vw;" v-model="item.operateCount"/>
						</div>
						<div class="flex-row" style="margin-top: 10px;">
							<div  class="vw-24">调前电流(A)<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.beforeI"/>
							<div style="margin-left: 10px;" class="mr-5">调后<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.afterI"/>
						</div>
						<div class="flex-row" style="margin-top: 10px;">
							<div class="vw-24">两侧高压(kV)<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.highV"/>
							<div style="margin-left: 10px;" class="mr-5">低压<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.lowV"/>
						</div>
						<div class="flex-row" style="margin-top: 10px;">
							<div  class="vw-24">调前电压(高)<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.beforeHighV"/>
							<div style="margin-left: 10px;" class="mr-5">调后<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.afterHighV"/>
						</div>
						<div class="flex-row" style="margin-top: 10px;">
							<div  class="vw-24">调前电压(低)<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.beforeLowV"/>
							<div style="margin-left: 10px;" class="mr-5">调后<span class="red">*</span></div><input maxlength="17" onkeyup="value=value.replace(/^\D*(\d*(?:\.\d{0,4})?).*$/g, '$1')" :disabled="isEdittext" class="ipt" v-model="item.afterLowV"/>
						</div>
						<div class="mt-10">
							<div>备注</div>
							<textarea maxlength="600" :disabled="isEdittext" class="mt-10" v-model="item.remark" placeholder="请输入备注(选填)"></textarea>
						</div>
					</div>
				  </li>
			</ul>

			<hr size="1" class="hr-line"  />
			</div>
			</div>
			<div style="width: 100%;height: 60px;"></div>
			<!-- <div v-if="pageType == 1 || pageType == 100 || pageType == 200 || pageType == 300 " class="flex-between fixed-bottom"> -->
				<div v-if="pageType == 2 || pageType == 0" class="flex-between fixed-bottom">
					<!-- <button class="submit_btn" v-on:click="saveForm('1')">确认并新增</button> -->
					<button class="submit_btn" v-on:click="saveForm('2')" >确认</button>
				</div>
				
		</div>
		
		<script src="../../../../js/mui.min.js"></script>
		<!--三件套STR-->
		<script src="../../static/js/neiosCommon.js"></script>
		<script src="../../static/js/neiosRequst.js"></script>
		<script src="../../static/js/Config.js"></script>
		<!--三件套END-->
		<script src="../../../../js/vue.js"></script>
		<script src="../../static/components/personSelect.js"></script>
		<script type="text/javascript" src="../../../../js/jquery-3.2.1.min.js"></script>
		<script src="../../../../pages/ddms/js/mkeyplus.base.js"></script>
		<script src="../../../../pages/ddms/js/sqlite.js"></script>
		<!-- <script src="js/add.js"></script> -->
		<script src="./js/detail.js"></script>
		
	</body>

</html>